Tween Atom Types
The following atom types are defined for tween-related atoms:
enum {
kTweenEntry = 'twen',
kTweenData = 'data',
kTweenType = 'twnt',
kTweenStartOffset = 'twst',
kTweenDuration = 'twdu',
kTween3dInitialCondition = 'icnd',
kTweenInterpolationStyle = 'isty',
kTweenRegionData = 'qdrg',
kTweenPictureData = 'PICT'
};
kInputMapSubInputID = 'subi',
};
-
kTweenEntry
-
A parent atom that defines a set of values for a tween operation. Its child atoms define the tween data type, the tween data, and additional attributes of the tween operation.
-
kTweenData
-
A leaf atom that contains the data values for a tween operation. You create a
kTweenData
atom as a child of a
kTweenEntry
atom.
-
kTweenType
-
A leaf atom that contains the type of the data for a tween operation (for example,
kTweenTypeShort
). You create a
kTweenType
atom as a child of a
kTweenEntry
atom.
-
kTweenStartOffset
-
A leaf atom that contains the starting offset, in time units, of a tween operation. You create a
kTweenStartOffset
atom as a child of a
kTweenEntry
atom. (Optional)
-
kTweenDuration
-
A leaf atom that contains the duration, in time units, of a tween operation. You create a
kTweenDuration
atom as a child of a
kTweenEntry
atom. (Optional)
-
kTween3dInitialCondition
-
A leaf atom that contains an initial value for a 3D tween operation. You create a
kTween3DInitialCondition
atom as a child of a
kTweenEntry
atom. The type of the initial value should be the same as the type of data to be tweened. If you do not provide an initial value, the tween operation is performed against a value of 0. (Optional)
-
kTweenInterpolationStyle
-
Reserved.
-
kTweenRegionData
-
A leaf atom that contains a region. You create a
kTweenRegionData
atom as an additional child of the
kTweenEntry
atom when the tween type is kTweenTypeQDRegion. The region is mapped onto the interpolated rectangle calculated by the tween operation.
-
kTweenPictureData
-
A leaf atom that contains a PICT image. You create a
kTweenPictureData
atom as a child of a
kTweenEntry
atom. Only used when tween type is between Region Data.
© 1997 Apple Computer, Inc.Previous | Chapter Top | Chapter Contents | Next